// The Vue build version to load with the `import` command
// (runtime-only or standalone) has been set in webpack.base.conf with an alias.
import Vue from 'vue'
import App from './App'
import router from './router'

//使用   1)导入自定义组件  MyHeader
import  MyHeader from './components/MyHeader'
import  MyContent from './components/MyContent'

Vue.config.productionTip = false

//2）注册自定义组件
Vue.component("myHeader",MyHeader);
Vue.component("myContent",MyContent);


/* eslint-disable no-new */
new Vue({
  el: '#app',
  //router,
  components: { App },
  template: '<App/>'
})
